<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'userdate.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">

<style type="text/css">


	.layer_title{
		float: left;
	}
	.layer_table{
		float: left;
		margin-top: 1.5%;
		height:70%;
		float: left;
		width:40%;
	}
	.layer_table table {
		font-size:12px;
		height:100%;
		width:100%;
		color: #778899 ;
		background-color: #DCDCDC;
	}
	
	.save_button{
		float: right;
		margin-right:2%;
		margin-top:4%;
		width: 8%;
		height:30%;
	
	}
	.save_button button{
		padding: 4% 20%;
	}
	.layer_table td{
		width:25%;
		line-height:100%;
	}
	.layer_table .t{
		text-align: center;	
		
	}
	
	
	.layer_zhuti #td1 {
		width: 14%
	}
	.layer_zhuti #td2 {
		width: 18%
	}
	.layer_zhuti #td3 {
		width: 11%
	}
	
	.layer_zhuti iframe{
		height: 98%;
	}
	
	
</style>

<script type="text/javascript">
	function showDiv(divtype,url,title){
		window.parent.showDiv(divtype,url,title); 
	}
	function savebinding() {
		var divtype = "middle";
		var url = "${pageContext.request.contextPath}/appset/bingding_saveBinding.action";
		var title = "添加绑定资源信息";
		window.parent.showDiv(divtype,url,title); 
	}
</script>

  </head>
  
  <body>
   		<div class="layer_head">
   			<div class="layer_title">绑定资源设置</div>
   			<div class="layer_seek">
   					<input type="text" value="请输入关键词" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" 
   					onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999"/>
	   			<a href="#"><div class="layer_search"></div></a>
   			</div>
   			<div class="save_button"><button onclick="savebinding()">添加资源</button></div>
			<div style="clear: both;"></div>
   		</div>
   		<hr>
   		
   		<div class="layer_zhuti">
   			<iframe class ="layer_iframe" name="layer_iframe" src="${pageContext.request.contextPath}/bamjsp/appSystem/bindingACT/bintable.jsp" frameborder=0 ></iframe>
   		</div>
   		
   		<!--<div class="layer_bottom">
			 <span class="span1" >共 <span style="font-size: 18px;color: black;">23</span> 条数据  &nbsp;共<span style="font-size: 18px;color: black;"> 2 </span>页</span> 
			<span style="float: right;"><input style="width: 50px" type="number" min="1"/><button style="margin-right: 40px">g o</button></span>
			<button style="margin-right: 40px">末 页</button>
			<button style="margin-right: 20px">上 页</button>
			<button style="margin-right: 20px">上 页</button>
			<button style="margin-right: 20px">首页</button>
			<div style="clear: both;"></div> 
		</div>-->
		
		
		
	
  	
  </body>
</html>
